﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WoWAPI
{
	public partial class Character
	{
		public class Spec
		{
			public bool Selected { get; set; }
			public string Name { get; set; }
			public string Icon { get; set; }
			public string Build { get; set; }
			public TalentTree[] Trees { get; set; }
			public SpecGlyphs Glyphs { get; set; }

			public Spec() { }

			#region SubClasses
			public class TalentTree
			{
				public string Points { get; set; }
				public int Total { get; set; }

				public TalentTree() { }
			}

			public class SpecGlyphs
			{
				public GlyphItem[] Prime { get; set; }
				public GlyphItem[] Major { get; set; }
				public GlyphItem[] Minor { get; set; }

				public SpecGlyphs() { }
			}

			public class GlyphItem
			{
				public int Glyph { get; set; }
				public int Item { get; set; }
				public string Name { get; set; }
				public string Icon { get; set; }

				public GlyphItem() { }
			}
			#endregion
		}
	}
}
